<template>
  <global-footer class="footer custom-render">
    <template v-slot:links>
      <span></span>
    </template>
    <template v-slot:copyright>
      <span v-text="copyright" v-if="showCopyright"></span>
      <!-- <a href="https://github.com/vueComponent" target="_blank" v-text="copyright">vueComponent</a> -->
    </template>
  </global-footer>
</template>

<script>
import { GlobalFooter } from '@ant-design-vue/pro-layout'
import config from '@/config';
export default {
  name: 'ProGlobalFooter',
  components: {
    GlobalFooter
  },
  computed:{
    copyright:()=>{
      return config.enCopyright;
    },
    showCopyright(){
      return this.$route.path!=config.homeIndex;
    }
  }
}
</script>
<style lang="less" scoped>
  .custom-render{
    margin: 0;
  }
</style>
